package com.youbug.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youbug.system.entity.LoginLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youbug.system.entity.User;
import com.youbug.system.vo.LoginLogVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 登录日志 服务类
 * </p>
 *
 * @author youbug
 * @since 2023-05-06
 */
public interface ILoginLogService extends IService<LoginLog> {

    void saveLog(HttpServletRequest request, User user);

    IPage<LoginLog> getLoginLogPage(LoginLogVo vo);
}
